<div ng-controller="ExamSetAndZBController">
<style type="text/css">
.danxuan .active span{ background-color:#39f;}
.danxuan div span{width: 100%;height: 100%;border-radius: 50%;display: block; background: #999999;}
.danxuan div{margin-left: 15px;width: 12px;height: 12px;border-radius: 50%;overflow: hidden;border: 1px #ddd solid;float: left;margin-right: 10px;margin-top: 5px;padding: 3px;cursor: pointer;}
.video_li {cursor:pointer;}
.description {margin-left:50px;margin-top: -7px;}
</style>
<h1>考试设置</h1>
<div class="main_block">
<!--考试设置-->
<div>
<span  ng-repeat="item in commonlist">
<div class="xuanxiang">
      {{item.switch_name}}
      <div style=" float:right; padding-top: 5px;">
            <div class="toggle blue" >
                <input class="notificationHandler check" type="button" ng-class="{checked:item.switchOrganization.is_switch== 0}" ng-click="updateState(item)">
                <div class="switch">
                </div>
                <div class="track">
                </div>
            </div>
      </div>
  </div>
  <div ng-bind-html="item.switch_describe  | to_html"></div>
  <br />
</span>

<span>
<div class="xuanxiang">
      防作弊
      <div style=" float:right; padding-top: 5px;">
            <div class="toggle blue" >
                <input class="notificationHandler check" type="button" ng-class="{checked:fzbJson.cheatSwitch}" ng-click="openCheatSwitch()">
                <div class="switch">
                </div>
                <div class="track">
                </div>
            </div>
      </div>
  </div>
  <div>开启防作弊后，学员在进入考试或交卷时，将进行拍照记录！</div>
  <br />
</span>

<span ng-if="fzbJson.cheatSwitch">
<div>{{fzbJson.cameraPlan.id}}、{{fzbJson.cameraPlan.title}}</div>
<div style="overflow: hidden;">
    <div style="width: {{item.id==3?'80':'10'}}%;float:  left;" class="danxuan" ng-repeat="item in fzbJson.cameraPlan.btnList">
            <div ng-class="{active:item.isSel}" ng-click="checkDanSel(fzbJson.cameraPlan.id,item)"> 
                    <span></span>
			</div>
            <span>{{item.name}}<input type="text" placeholder="{{item.ts}}"  ng-if="item.ts" style="border: 0;" ng-model="item.value"></span>
    </div>
</div>
  <br />
<div>{{fzbJson.shotPlan.id}}、{{fzbJson.shotPlan.title}}</div>
<div>    
    <div style="width: {{item.id==4?'20':'10'}}%;float:  left;" class="video_li"  ng-repeat="item in fzbJson.shotPlan.btnList">
            <div class="liebiaocheck-box" ng-class="{selected:item.isSel}" ng-click="checkSel(item)">                                    
                        <span class="iconfont"></span>
            </div>
            <div class="description">{{item.name}} <input type="number" placeholder="{{item.ts}}" style=" width:50px;"  ng-if="item.ts" ng-model="item.value"></div>
    </div>
</div>
 <br />
    <br />

</span>
 <span  ng-if="fzbJson.cheatSwitch">
    <div class="xuanxiang">
         人脸识别
          <div style=" float:right; padding-top: 5px;">
                <div class="toggle blue" >
                    <input class="notificationHandler check" type="button" ng-class="{checked:fzbJson.faceRecognitionSwitch}" ng-click="fzbJson.faceRecognitionSwitch=!fzbJson.faceRecognitionSwitch">
                    <div class="switch">
                    </div>
                    <div class="track">
                    </div>
                </div>
          </div>
      </div>
      <div>开启人脸识别后，系统将在学习或考试时验证是否本人参与！</div>
      <br />
      <p>人脸识别相似度最小到达： <input type="number"  min="0" max="100" ng-model="fzbJson.similarityDegree" style="width: 50px;">% 即为本人（推荐为80%）</p>
      <span ng-if="fzbJson.faceRecognitionSwitch">
          <div>{{fzbJson.originalPhoto.id}}、{{fzbJson.originalPhoto.title}}</div>
          <div  style="overflow: hidden;"> 
        <div style="width: {{item.id==3?'80':'10'}}%;float:  left;" class="danxuan" ng-repeat="item in fzbJson.originalPhoto.btnList">
                <div ng-class="{active:item.isSel}" ng-click="checkDanSel(fzbJson.originalPhoto.id,item)"> 
                        <span></span>
			    </div>
                <span>{{item.name}}<input type="text" placeholder="{{item.ts}}"  ng-if="item.ts" style="border: 0;" ng-model="item.value"></span>
        </div>
        </div>
         <br />
         <div>{{fzbJson.nonSelf.id}}、{{fzbJson.nonSelf.title}}</div>
         <div style="overflow: hidden;"> 
         <div style="width: {{item.id==3?'80':'10'}}%;float:  left;" class="danxuan" ng-repeat="item in fzbJson.nonSelf.btnList">
                <div ng-class="{active:item.isSel}" ng-click="checkDanSel(fzbJson.nonSelf.id,item)"> 
                        <span></span>
			    </div>
                <span>{{item.name}}<input type="text" placeholder="{{item.ts}}"  ng-if="item.ts" style="border: 0;" ng-model="item.value"></span>
        </div>
        </div>
        <br />
    </span>
    </span>
    <div class="btn queding" style="width:100px;">
    <div ng-if="loading" class="btn">
                <btnloading isbtnload="loading"></btnloading>
     </div>
    <span  ng-click="SavePlan()" ng-if="!loading"><i class="iconfont"></i>确定</span>
</div>
</div>
</div>
</div>












